Package com.seclore.fs.ws.client.pscp
Interface ConnectionPoolConfig
public interface ConnectionPoolConfig
This interface provides the configuration for the connection pool.
-
Method Summary
Modifier and TypeMethodDescriptionintThis should return the maximum inactive interval set on the server in seconds.intMaximum number of connections in the pool.
-
Method Details
-
getMaxPoolSize
int getMaxPoolSize()Maximum number of connections in the pool.- Returns:
- The maximum pool size.
-
getDefaultSessionExpiry
int getDefaultSessionExpiry()This should return the maximum inactive interval set on the server in seconds.
If a connection remains unused in the pool for more than this time then it will automatically get purged from the pool.- Returns:
- The default session expiry
-